﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for Person
/// </summary>
public class Person
{

	/// <summary>
    /// Fields of Person
    /// </summary>
    #region Fields
    int id;    
    string firstName;    
    string lastName;
    DateTime dateOfBirth;
    bool gender;
    string email;    
    string phone;   
    string address;   
    string city;  
    string state;   
    string country;   
    DateTime modifiedDate;  
    int modifiedBy;
    string note;

    
  
    #endregion

    /// <summary>
    /// Properties of Person
    /// </summary>
    #region Properties
    public int Id
    {
        get { return id; }
        set { id = value; }
    }
    public string FirstName
    {
        get { return firstName; }
        set { firstName = value; }
    }
    public string LastName
    {
        get { return lastName; }
        set { lastName = value; }
    }
    public DateTime DateOfBirth
    {
        get { return dateOfBirth; }
        set { dateOfBirth = value; }
    }
    public bool Gender
    {
        get { return gender; }
        set { gender = value; }
    }
    public string Email
    {
        get { return email; }
        set { email = value; }
    }
    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }
    public string Address
    {
        get { return address; }
        set { address = value; }
    }
    public string City
    {
        get { return city; }
        set { city = value; }
    }
    public string State
    {
        get { return state; }
        set { state = value; }
    }
    public string Country
    {
        get { return country; }
        set { country = value; }
    }
    public DateTime ModifiedDate
    {
        get { return modifiedDate; }
        set { modifiedDate = value; }
    }
    public int ModifiedBy
    {
        get { return modifiedBy; }
        set { modifiedBy = value; }
    }
    public string Note
    {
        get { return note; }
        set { note = value; }
    }
 
    #endregion

    /// <summary>
    /// Constructures Person
    /// </summary>
    #region Constructures
    public Person()
    {
        id = 0;
        firstName = "";
        lastName = "";
        email = "";
        phone = "";
        address = "";
        city = "";
        state = "";
        country = "";
        modifiedDate = new DateTime();
        modifiedBy = 0;

    }

    public Person(int id, string firstName, string lastName, string email, string phone, string address,string city, string state, string country, DateTime modifiedDate, int modifiedBy)
	{
        this.id = id;
        this.firstName = firstName;
        this.lastName = lastName;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.city = city;
        this.state = state;
        this.country = country;
        this.modifiedDate = modifiedDate;
        this.modifiedBy = modifiedBy;
       
    }
    #endregion
}